//
//  SHTextField.h
//  YHSJ
//
//  Created by CYF on 16/11/10.
//  Copyright © 2016年 SH. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface SHTextField : UITextField


#pragma mark -- 设置lebel 文字 字体大小 16进制字体颜色  默认字体 默认字体大小 默认16进制字体颜色  是否密文 清除模式 样式 键盘类型
- (instancetype)labelText:(NSString *)text font:(CGFloat)font hexStringtextColor:(NSString *)textColor placeholder:(NSString *)placeholder placeholderFont:(CGFloat) placeholderFont placeholderHexStringtTextColor:(NSString *)placeholderTextColor secureTextEntry:(BOOL)secureTextEntry clearButtonMode:(UITextFieldViewMode)clearButtonMode borderStyle:(UITextBorderStyle)borderStyle keyboardType:(UIKeyboardType)keyboardType;


#pragma mark -- 设置lebel 文字 字体大小 字体颜色  默认字体 默认字体大小 默认字体颜色  是否密文 清除模式 样式 键盘类型
- (instancetype)labelText:(NSString *)text font:(CGFloat)font textColor:(UIColor *)textColor placeholder:(NSString *)placeholder placeholderFont:(CGFloat) placeholderFont placeholderTextColor:(UIColor *)placeholderTextColor secureTextEntry:(BOOL)secureTextEntry clearButtonMode:(UITextFieldViewMode)clearButtonMode borderStyle:(UITextBorderStyle)borderStyle keyboardType:(UIKeyboardType)keyboardType;

#pragma mark -- 设置textField 圆角
- (void)setCornerRadius:(CGFloat)cornerRadius;



#pragma mark -- 设置textField 边框宽度 边框颜色
- (void)setBorderWidth:(CGFloat)borderWidth borderColor:(UIColor *)borderColor;


#pragma mark - 设置textField text font textColor
- (void)setText:(NSString *)text font:(CGFloat)font textColorString:(NSString*)color;



- (void)setText:(NSString *)text font:(CGFloat)font textColor:(UIColor *)color;


#pragma mark - 设置textField placeholder font textColor
- (void)setPlaceholder:(NSString *)placeholder font:(CGFloat)font textColorString:(NSString *)color;


- (void)setPlaceholder:(NSString *)placeholder font:(CGFloat)font textColor:(UIColor *)color;

@end
